﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Qing.QPwdBox
{
    public partial class FrmLogin : Form
    {
        public FrmLogin()
        {
            InitializeComponent();
        }

        private void FrmLogin_Load(object sender, EventArgs e)
        {
            this.Icon = FrmPassword.Self.Icon;
            txtMsg.Text = "";
        }

        private void tbPwd_TextChanged(object sender, EventArgs e)
        {
            txtMsg.Text = "";
        }

        private void btnLogin_Click(object sender, EventArgs e)
        {
            txtMsg.Text = "";
            btnLogin.Enabled = false;

            this.DialogResult = DialogResult.OK;
        }
    }
}
